package com.tbit.uqbike.common;

import lombok.Getter;

/**
 * @author lh2
 * @ClassName: ResultCode
 * @Description: 返回结果码
 * @date 2023-04-27 09:20:27
 */
@Getter
public enum ResultCode {
    SUCCESS(1, "成功"), //
    FAIL(0, "失败"), //
    ;

    private Integer code;
    private String desc;

    ResultCode(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}